home *** CD-ROM | disk | FTP | other *** search
/ System Booster / System Booster.iso / Desktop Improver / TinyMeter / Install < prev    next >
Text File  |  1996-09-26  |  11KB  |  352 lines

  1. ; Installer Script for TinyMeter V4.22+
  2.  
  3. ;*******************************************************************************************
  4. ; ENGLISH
  5. ;
  6. (set @def_lang          0)
  7. (set @def_help          "Where's the problem?")
  8. (set @where_main        "Where should I copy the TinyMeter main program ?")
  9. (set @where_main_help   "SYS:WBStartup is the best place. Simply click proceed.")
  10. (set @where_prefs       "Where should I copy the TinyMeter preferences program?")
  11. (set @where_prefs_help  "SYS:Prefs is the best place, since TinyMeter can only call it, when its there.")
  12. (set @which_lang        "Which languages should be installed?")
  13. (set @which_icons       "Which icons do you use")
  14. (set @which_install     "What should be installed?")
  15. (set @choic_1           "Example settings")
  16. (set @choic_2           "Fonts for Clocks")
  17. (set @choic_3           "Background patterns")
  18. (set @choic_4           "Pictograms for launchermenus")
  19. (set @choic_5           "Documentation")
  20. (set @where_picto       "Where should the pictograms be installed?")
  21. (set @where_picto_help  "Prefs:Pictograms is the best place. Simply click proceed.")
  22. (set @where_docs        "Where should the documentation be installed?")
  23. (set @where_docs_help   "HELP: is the best place. The HELP key is only available within the preferences program when you put it here. Simply click proceed.")
  24. (set @where_fonts       "Where should the fonts be installed?")
  25. (set @where_fonts_help  "FONTS: is the best place. The AmigaOS normally can only use fonts which are installed here. Simply click proceed.")
  26. (set @where_back        "Where should the background patterns be installed?\n (example settings-file uses SYS:Prefs/Patterns!)")
  27. (set @insta_files       "Installing the files...")
  28. (set @insta_main        "Installing TinyMeter...")
  29. (set @insta_catalog     "Installing catalog...")
  30. (set @insta_newicons    "Installing NewIcons®...")
  31. (set @insta_examples    "Installing example settings...")
  32. (set @insta_fonts       "Installing fonts...")
  33. (set @insta_backs       "Installing patterns...")
  34. (set @insta_pictos      "Installing pictograms...")
  35. (set @insta_docs        "Installing documentation...")
  36. (set @insta_def         "Installing...")
  37. (set @messa_exit        "Have phun with this nice piece of soft!!!\n\nNow you should start TinyMeter, setup the position and size and press S to save these settings.\n\nAfter that, start the TinyMeter preferences to setup TinyMeter to your personal taste.\n\nIf there are any problems, don't hesitate to contact the author!")
  38.  
  39. ;*******************************************************************************************
  40. ; DEUTSCH
  41. ;
  42. (if (= @language "deutsch")
  43.     (
  44.     (set @def_lang          1)
  45.     (set @def_help          "Wo ist das Problem?")
  46.     (set @where_main        "Wohin soll das Hauptprogramm kopiert werden?")
  47.     (set @where_main_help   "SYS:WBStartup ist der Beste Platz.")
  48.     (set @where_prefs       "Wohin soll das Einstellungsprogramm kopiert werden?")
  49.     (set @where_prefs_help  "SYS:Prefs ist der Beste Platz.")
  50.     (set @which_lang        "Welche Sprachen sollen installiert werden?")
  51.     (set @which_icons       "Welche Icons sollen benutzt werden?")
  52.     (set @which_install     "Was soll installiert werden?")
  53.     (set @choic_1           "Beispieleinstellungen")
  54.     (set @choic_2           "Zeichensätze für die Uhr")
  55.     (set @choic_3           "Hintergrundbilder")
  56.     (set @choic_4           "Piktogramme für die Schnellstarter")
  57.     (set @choic_5           "Dokumentation")
  58.     (set @where_picto       "Wohin sollen die Piktogramme opiert werden?")
  59.     (set @where_picto_help  "Prefs:Pictograms ist der Beste Platz.")
  60.     (set @where_docs        "Wohin soll die Doumentation kopiert werden?")
  61.     (set @where_docs_help   "HELP: ist der Beste Platz.")
  62.     (set @where_fonts       "Wohin sollen die Zeichensätze opiert werden?")
  63.     (set @where_fonts_help  "FONTS: ist der Beste Platz..")
  64.     (set @where_back        "Wohin sollen die Hintergrundbilder opiert werden?\n (Die Beispiel einstellungen benötigen diese Bilder!)")
  65.     (set @insta_files       "Installiere Dateien...")
  66.     (set @insta_main        "Installiere TinyMeter...")
  67.     (set @insta_catalog     "Installiere Sprachenkataloge...")
  68.     (set @insta_newicons    "Installiere NewIcons®...")
  69.     (set @insta_examples    "Installiere Beispieleinstellungen...")
  70.     (set @insta_fonts       "Installiere Zeichensätze...")
  71.     (set @insta_backs       "Installiere Hintergrundbilder...")
  72.     (set @insta_pictos      "Installiere Piktogramme...")
  73.     (set @insta_docs        "Installiere Doumentation...")
  74.     (set @insta_def         "Installiere...")
  75.     (set @messa_exit        "Nun viel Spaß mit diesem Programm!!!\n\nNun sollte man TinyMeter starten, die Position und Größe einstellen, S druecken und mit dem Einstellungsprogramm weitere Einstellungen vornehmen.\nBei Problemen ist der Author immer über EMail oder auf IRC erreichbar.")
  76.     )
  77. )
  78.  
  79. ;*******************************************************************************************
  80. ; FRANÇAIS
  81. ;
  82. (if (= @language "français")
  83.     (
  84.     (set @def_lang          2)
  85.     (set @def_help          "Où est le problème?")
  86.     (set @where_main        "Où voulez vous installer TinyMeter?")
  87.     (set @where_main_help   "SYS:WBStartup est la meilleur destination.")
  88.     (set @where_prefs       "Où voulez vous installer le programme de réglage?")
  89.     (set @where_prefs_help  "SYS:Prefs es la meilleur destination.")
  90.     (set @which_lang        "Quelle langues voulez vous installer?")
  91.     (set @which_icons       "Quelle type d´icônes vous utiliséz?")
  92.     (set @which_install     "Qu´est-ce qu´il faut installer?")
  93.     (set @choic_1           "Examples")
  94.     (set @choic_2           "Polices pour l´horloge")
  95.     (set @choic_3           "Images de fond")
  96.     (set @choic_4           "Pictogrammes pour les lanceurs")
  97.     (set @choic_5           "Documentation")
  98.     (set @where_picto       "Où voulez vous installer les pictogrammes?")
  99.     (set @where_picto_help  "Prefs:Pictograms est la meilleur destination.")
  100.     (set @where_docs        "Où voulez vous installer la documentation?")
  101.     (set @where_docs_help   "HELP: est la meilleur destination.")
  102.     (set @where_fonts       "Où voulez vous installer les polices?")
  103.     (set @where_fonts_help  "FONTS: est la meilleur destination.")
  104.     (set @where_back        "Où voulez vous installer les images de fond?")
  105.     (set @insta_files       "Installation en cours...")
  106.     (set @insta_main        "Installation en cours...")
  107.     (set @insta_catalog     "Installation en cours...")
  108.     (set @insta_newicons    "Installation en cours...")
  109.     (set @insta_examples    "Installation en cours...")
  110.     (set @insta_fonts       "Installation en cours...")
  111.     (set @insta_backs       "Installation en cours...")
  112.     (set @insta_pictos      "Installation en cours...")
  113.     (set @insta_docs        "Installation en cours...")
  114.     (set @insta_def         "Installation en cours...")
  115.     (set @messa_exit        "S´il y a des problèmes, n´hésitez pas de contacter l´auteur!")
  116.     )
  117. )
  118.  
  119. (set @default-dest (""))
  120.  
  121. (set @source-file "TinyMeter")
  122.  
  123. (set @destdir
  124.     (askdir
  125.         (prompt @where_main)
  126.         (help @where_main_help)
  127.         (default "SYS:WBStartup/")
  128.     )
  129. )
  130. (set @prefsdir
  131.     (askdir
  132.         (prompt @where_prefs)
  133.         (help @where_prefs_help)
  134.         (default "SYS:Prefs/")
  135.     )
  136. )
  137. (set langchoice
  138.     (askoptions
  139.         (prompt @which_lang)
  140.         (help @def_help)
  141.         (choices "Deutsch" "Français" "Italiano" "Polski")
  142.         (default @def_lang)
  143.     )
  144. )
  145.  
  146. (set iconchoice
  147.     (askchoice
  148.         (prompt @which_icons)
  149.         (help @def_help)
  150.         (choices "MagicWB®" "NewIcons®")
  151.         (default 0)
  152.     )
  153. )
  154.  
  155. (set instchoice
  156.     (askoptions
  157.         (prompt @which_install)
  158.         (help @def_help)
  159.         (choices @choic_1 @choic_2 @choic_3 @choic_4 @choic_5)
  160.         (default 8)
  161.     )
  162. )
  163.  
  164. (if (<> 0 (BITAND instchoice 8))
  165.     (set @picdir
  166.     (askfile
  167.         (prompt @where_picto)
  168.         (help @where_picto_help)
  169.         (default "SYS:Prefs/Pictograms")
  170.     )
  171.     )
  172. )
  173.  
  174. (if (<> 0 (BITAND instchoice 16))
  175.     (set @helpdir
  176.         (askdir
  177.             (prompt @where_docs)
  178.             (help @where_docs_help)
  179.             (default "HELP:")
  180.         )
  181.     )
  182. )
  183.  
  184. (if (<> 0 (BITAND instchoice 2))
  185.     (set @fontdir
  186.         (askdir
  187.             (prompt @where_fonts)
  188.             (help @where_fonts_help)
  189.             (default "FONTS:")
  190.         )
  191.     )
  192. )
  193.  
  194. (if (<> 0 (BITAND instchoice 4))
  195.     (set @pattdir
  196.         (askdir
  197.             (prompt @where_back)
  198.             (help @def_help)
  199.             (default "SYS:Prefs/")
  200.         )
  201.     )
  202. )
  203.  
  204. (copyfiles
  205.     (prompt @insta_files)
  206.     (help @def_help)
  207.     (source @source-file)
  208.     (infos)
  209.     (newname "TinyMeter")
  210.     (dest @destdir)
  211. )
  212.  
  213. (copyfiles
  214.     (prompt @insta_main)
  215.     (help @def_help)
  216.     (source "Prefs/TinyMeter")
  217.     (infos)
  218.     (newname "TinyMeter")
  219.     (dest @prefsdir)
  220. )
  221.  
  222. (if (<> 0 (BITAND langchoice 1))
  223.     (copyfiles
  224.         (prompt @insta_catalog)
  225.         (help @def_help)
  226.         (source "Catalogs/deutsch/TinyMeterPrefs.catalog")
  227.         (dest "LOCALE:Catalogs/deutsch/")
  228.     )
  229. )
  230. (if (<> 0 (BITAND langchoice 2))
  231.     (copyfiles
  232.         (prompt @insta_catalog)
  233.         (help @def_help)
  234.         (source "Catalogs/français/TinyMeterPrefs.catalog")
  235.         (dest "LOCALE:Catalogs/français/")
  236.     )
  237. )
  238. (if (<> 0 (BITAND langchoice 4))
  239.     (copyfiles
  240.         (prompt @insta_catalog)
  241.         (help @def_help)
  242.         (source "Catalogs/italiano/TinyMeterPrefs.catalog")
  243.         (dest "LOCALE:Catalogs/italiano/")
  244.     )
  245. )
  246. (if (<> 0 (BITAND langchoice 8))
  247.     (copyfiles
  248.         (prompt @insta_catalog)
  249.         (help @def_help)
  250.         (source "Catalogs/polski/TinyMeterPrefs.catalog")
  251.         (dest "LOCALE:Catalogs/polski/")
  252.     )
  253. )
  254. (if (<> 0 (BITAND iconchoice 1))
  255.     (copyfiles
  256.         (prompt @insta_newicons)
  257.         (help @def_help)
  258.         (source "ArtWork/newicons/TinyMeter.info")
  259.         (dest @destdir)
  260.     )
  261. )
  262. (if (<> 0 (BITAND iconchoice 1))
  263.     (copyfiles
  264.         (prompt @insta_newicons)
  265.         (help @def_help)
  266.         (source "ArtWork/newicons/TinyMeterPrefs.info")
  267.         (newname "TinyMeter.info")
  268.         (dest @prefsdir)
  269.     )
  270. )
  271.  
  272. (if (<> 0 (BITAND instchoice 1))
  273.     (copyfiles
  274.         (prompt @insta_examples)
  275.         (help @def_help)
  276.         (source "Examples/MagicWB.tm")
  277.         (newname "TinyMeter")
  278.         (dest "ENV:")
  279.     )
  280. )
  281.  
  282. (if (<> 0 (BITAND instchoice 1))
  283.     (copyfiles
  284.         (prompt @insta_examples)
  285.         (help @def_help)
  286.         (source "Examples/MagicWB.tm")
  287.         (newname "TinyMeter")
  288.         (dest "ENVARC:")
  289.     )
  290. )
  291.  
  292. (if (<> 0 (BITAND instchoice 2))
  293.     (copyfiles
  294.         (prompt @insta_fonts)
  295.         (help @def_help)
  296.         (source "ArtWork/Fonts/")
  297.         (all)
  298.         (dest @fontdir)
  299.     )
  300. )
  301.  
  302. (if (<> 0 (BITAND instchoice 4))
  303.     (copyfiles
  304.         (prompt @insta_backs)
  305.         (help @def_help)
  306.         (source "ArtWork/Patterns/")
  307.         (all)
  308.         (dest @pattdir)
  309.     )
  310. )
  311.  
  312. (if (<> 0 (BITAND instchoice 16))
  313.     (copyfiles
  314.         (prompt @insta_docs)
  315.         (help @def_help)
  316.         (source "TinyMeter.guide")
  317.         (infos)
  318.         (dest @helpdir)
  319.     )
  320. )
  321.  
  322. (if (<> 0 (BITAND instchoice 8))
  323.     (copyfiles
  324.         (prompt @insta_pictos)
  325.         (help @def_help)
  326.         (source "ArtWork/Pictogram/")
  327.         (all)
  328.         (dest @picdir)
  329.     )
  330. )
  331.  
  332. (copylib
  333.     (prompt @insta_def)
  334.     (help @def_help)
  335.     (source "Libs/screennotify.library")
  336.     (dest "LIBS:")
  337.     (confirm)
  338. )
  339.  
  340. (copylib
  341.     (prompt @insta_def)
  342.     (help @def_help)
  343.     (source "Libs/wbstart.library")
  344.     (dest "LIBS:")
  345.     (confirm)
  346. )
  347.  
  348.  
  349. (exit
  350.     @messa_exit
  351. )
  352.